package com.schoolcloud.files.service;

import com.schoolcloud.common.model.PageDTO;
import com.schoolcloud.files.entity.FileMain;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolcloud.files.query.FileMainQuery;

/**
* @author hongmizfb
* @description 针对表【file_main(文件主表)】的数据库操作Service
* @createDate 2025-07-19 16:18:37
*/
public interface FileMainService extends IService<FileMain> {

    FileMain getByFilePath(String filePath);

    PageDTO<FileMain> getFilePage(FileMainQuery query);

    FileMain getByMd5(String md5);

    void deleteFileById(Integer id);
}
